package com.bys.system.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bys.generator.base.BaseModel;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
* PackageName:  com.bys.system.model
* ClassName:    SysPostModel
* Description:  岗位信息表实体类
* Author:       bys
* Date:         2023-03-31
**/
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "sys_post", autoResultMap = true)
@Schema(description = "岗位信息表实体类")
public class SysPostModel extends BaseModel {

    private static final long serialVersionUID = 1L;

    @Schema(description = "岗位编码")
    @TableField("post_code")
    private String postCode;

    @Schema(description = "岗位名称")
    @TableField("`name`")
    private String name;

    @Schema(description = "描述")
    @TableField("description")
    private String description;

    @Schema(description = "状态（1正常 0停用）")
    @TableField("`status`")
    private Boolean status;

    @Schema(description = "创造者")
    @TableField("create_user")
    private Long createUser;


}